<?php

	include("functions.php");

	EbView::includeThemeCss("default","galleria");
	
	EbView::includeJQueryPlugin('prettyPhoto','galleria');
	
	EbView::includeThemeJavascript('swfobject');
	
	EbView::beginHtmlHead();
?>
				 
<script type="text/javascript">
var tt=false;function th(o) {$('#header').toggle(500);$(o).text(tt?'Cacher la bannière':'Montrer la bannière');tt=!tt;}

	$(function()
	{
	  $(".eb-datagrid tr:even").css("background-color", "#FFFFFF");
	  $(".eb-datagrid tr:odd").css("background-color", "#F0F0F0");
	  $("TABLE").attr("cellpadding",1);
	  $("TABLE").attr("cellspacing",1);
	});
</script>

	<script type="text/javascript" charset="utf-8">
		$(document).ready(function(){
			$("a[rel^='prettyPhoto']").prettyPhoto({
				animationSpeed: 'normal', /* fast/slow/normal */
				padding: 40, /* padding for each side of the picture */
				opacity: 0.5, /* Value betwee 0 and 1 */
				showTitle: false, /* true/false */
				allowresize: true, /* true/false */
				counter_separator_label: '/', /* The separator for the gallery counter 1 "of" 2 */
				theme: 'light_square', /* light_rounded / dark_rounded / light_square / dark_square */
				callback: function(){}
			});
		});
	</script>

<style>
body{
background: #FFFFFF url(<?php echo EbView::getThemeUrl()?>/images/xbg.gif) no-repeat 0 +25px;
}
</style>
<?php EbView::endHtmlHead();?>
<body>
<a style="position: absolute; top: 7px; right: 10px; color:blue;" onclick="th(this);return false;" href="/">Cacher la bannière</a>
<div id="wrapper">
	<!-- start header -->
	<div id="header">
		<div id="sousheader">
		<div id="logo">
			<h1><a href="#">Var People</a></h1>
			<p><a href="http://www.varpeople.com/">Annuaire du Var</a></p>
		</div>
		<div id="rss"><a href="#">Rechercher un professionnel</a></div>
		<div id="search">
			<input type="text" name="s" id="s" size="15" value="" />
			<a id="searchButton" href="/annuaire" onclick="window.location.href = '/annuaire\/' + $('#s').attr('value');return false;"></a>
		</div>
		</div>
	</div>
	<!-- end header -->
	<!-- star menu -->
	<div id="barremenu">
	<div id="menu">
		<ul>
			<li><a href="/">Accueil</a></li>
			<li><a href="/annuaire">Annuaire</a></li>
			<li><a href="/modele">Modèles</a></li>
			<li><a href="/reportages">Reportages</a></li>
			<li><a href="/annonces">Annonces</a></li>
			<li><a href="forum/index.php">Forum</a></li>
			<li><a href="/contact">Contact</a></li>
		</ul>
	</div>
	</div>
	<div id="pageWrapper">
		<div id="page">
			<?php eb_include_fragment('content'); ?>
		</div>
		<div id="pageBottom"></div>
		<?php display_social_menu(); ?>
	</div>
	<div id="footer">
		<p class="legal">
			©2009 <a href="index.php?page=7">Var People</a> - Tous droits réservés
			
			Réalisé par <a href="http://www.ebuildy.com/" target="_blank">Ebuildy</a>
		</p>
		<p class="links">
			<a href="/admin-boutique">Administration</a>
		</p>
	</div>
</div>
<!-- end footer -->
</body>
